#ifndef _MarvelGammaPos_H_
#define _MarvelGammaPos_H_

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include "TFile.h"
#include "TH2F.h"
#pragma GCC diagnostic pop

#include "MyBasePos.hh"

class MarvelGammaPos : public MyBasePos
{
public:
    MarvelGammaPos();
    ~MarvelGammaPos();
    void Initialize(YAML::Node);
    std::pair<G4ThreeVector, G4ThreeVector> GenPosAndMomDir();

private:
    G4double m_SDRadius;

    TFile* m_HistFile;
    TH2F* m_PositionHist;
    TFile* m_MomDirFile;
    TH2F* m_MomDirHist;
};

#endif